package com.hnevc.thread;

public class MainThreadDemo {
	public static void main(String[] args) {
		Thread t = Thread.currentThread();
		t.setName("主线程");
		System.out.println("主线程是:"+t);
		System.out.println("主线程ID:"+ t.getId());
		System.out.println("主线程名:"+t.getName());
	}
}
